<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>城市地下空间管理知识问答系统 - 毕业设计展示</title>
    <style>
        /* 基础重置 */
        * { margin: 0; padding: 0; box-sizing: border-box; }

        /* 使用系统默认字体，避免加载谷歌字体导致卡顿 */
        body {
            font-family: "Microsoft YaHei", "Heiti SC", "Segoe UI", sans-serif;
            background-color: #f4f6f9;
            color: #333;
            height: 100vh;
            display: flex;
            flex-direction: column;
        }

        /* 顶部导航栏 - 土木工程蓝 */
        header {
            background-color: #1e3a8a; /* 深蓝色，稳重专业 */
            color: white;
            padding: 0 20px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            flex-shrink: 0;
        }

        header h1 {
            font-size: 1.1rem;
            font-weight: bold;
            letter-spacing: 1px;
        }

        header .status {
            font-size: 0.8rem;
            background-color: #10b981;
            padding: 4px 10px;
            border-radius: 4px;
        }

        /* 布局容器 */
        .container {
            display: flex;
            flex: 1;
            height: calc(100vh - 60px);
            overflow: hidden;
        }

        /* 左侧边栏 */
        .sidebar {
            width: 280px;
            background-color: #ffffff;
            border-right: 1px solid #e0e0e0;
            padding: 25px;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }

        .sidebar h2 {
            font-size: 1rem;
            margin-bottom: 15px;
            color: #1e3a8a;
            border-left: 4px solid #1e3a8a;
            padding-left: 10px;
        }

        .sidebar p {
            font-size: 0.9rem;
            line-height: 1.6;
            color: #555;
            margin-bottom: 15px;
            text-align: justify;
        }

        .sidebar .info-box {
            background-color: #f0f7ff;
            border: 1px solid #cce3ff;
            border-radius: 4px;
            padding: 15px;
            margin-top: auto;
            font-size: 0.85rem;
        }
        
        .sidebar .info-box strong {
            color: #1e3a8a;
            display: block;
            margin-top: 5px;
        }

        /* 右侧聊天区 */
        .chat-area {
            flex: 1;
            background-color: #fff;
            position: relative;
        }

        /* 移动端适配 */
        @media (max-width: 768px) {
            .sidebar { display: none; }
            header h1 { font-size: 1rem; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
        }
    </style>
</head>
<body>

    <header>
        <h1>城市地下空间管理知识问答系统</h1>
        <span class="status">运行中</span>
    </header>

    <div class="container">
        <div class="sidebar">
            <h2>项目背景</h2>
            <p>随着城市化进程加快，地下空间数据呈爆炸式增长。传统检索方式难以应对复杂、多源异构的工程数据。</p>
            
            <h2>技术路线</h2>
            <p>本系统采用 <strong>RAG (检索增强生成)</strong> 架构：</p>
            <ul style="padding-left: 20px; font-size: 0.9rem; color: #555; margin-bottom: 15px;">
                <li>本地部署大语言模型</li>
                <li>Neo4j 知识图谱推理</li>
                <li>向量数据库检索</li>
            </ul>

            <div class="info-box">
                2025届硕士学位论文演示<br>
                <strong>土木工程系</strong>
            </div>
        </div>

        <div class="chat-area">
            <iframe
                src="https://udify.app/chatbot/QzDCVrWTDwhFWqEL"
                style="width: 100%; height: 100%; border: none;"
                frameborder="0"
                allow="microphone">
            </iframe>
        </div>
    </div>

</body>
</html>